package com.java2007.hotel.service;

import com.java2007.hotel.pojo.Admin;

import java.sql.SQLException;

/**
 * @author ghy
 * @version 1.0
 * @date 2021-01-25
 */
public interface AdminService {

    /**
     * 登录
     * @param adminName
     * @param password
     * @return
     */
    Admin login(String adminName, String password) throws SQLException;

}
